<script language="javascript" src="/plug-in/PopCalender/popcalendar.js"></script> 
<script Language="JavaScript">dateFormat='yyyy-mm-dd'</script>
<div class="ccc2">
	<ul>
		<li>
			<span class="right"><input type="button" onClick="javascript:history.back();" value="返回留言列表" class="gray mini"></span>
			当前位置：<?{$arrGWeb.module_name}?>管理
	 </li>
	</ul>
</div>
<form name="form1" id="form1" onsubmit="return checkform()" action="?page=<?{$smarty.get.page}?>" method="post" enctype="multipart/form-data">
<div id="biweb">
<table class="biweb" align="center" cellspacing="0">
	<tr class="firstr">
		<td colspan="3">编辑<?{$arrGWeb.module_name}?>：</td> 
	</tr>	
  	<td>索取数量：</td>
    <td>
	<input maxLength=210 size=55 id=title name=quantity value="<?{$arrData.quantity}?>" onblur="dodivde();"></td>
    <td><span class=gray>标题，最大70个中文</span></td></tr>
  <tr>
    <td>单位名称：</td>
    <td><input maxLength='50' size='50' name='company' value="<?{$arrData.company}?>"></td>
    <td><span class=gray>公司名称</span></td>
  </tr>  
  <tr>
    <td>单位地址：</td>
    <td><input maxLength='50' size='50' name='compaddress' value="<?{$arrData.compaddress}?>"></td>
    <td><span class=gray>公司名称</span></td>
  </tr>
  <tr>
    <td>收获地址：</td>
    <td><input maxLength='50' size='50' name='proaddress' value="<?{$arrData.proaddress}?>"></td>
    <td><span class=gray>公司名称</span></td>
  </tr>
  <tr>
    <td>联系人：</td>
    <td><input maxLength='50' size='50' name='contact' value="<?{$arrData.contact}?>"></td>
    <td><span class=gray>留言的作者</span></td>
  </tr> 
  <tr>
    <td>电子邮箱：</td>
    <td><input maxLength='50' size='50' name='email' value="<?{$arrData.email}?>"></td>
    <td><span class=gray>电子邮箱</span></td>
  </tr>   
  <tr>
    <td>联系电话：</td>
    <td><input maxLength='50' size='50' name='tel' value="<?{$arrData.tel}?>"></td>
    <td><span class=gray>联系电话</span></td>
  </tr>
  <tr>
    <td>传真号码：</td>
    <td><input maxLength='50' size='50' name='fax' value="<?{$arrData.fax}?>"></td>
    <td><span class=gray>公司名称</span></td>
  </tr>
  <tr>
    <td>联系手机：</td>
    <td><input maxLength='50' size='50' name='mobile' value="<?{$arrData.mobile}?>"></td>
    <td><span class=gray>公司名称</span></td>
  </tr>
  <tr>
    <td>是否处理：</td>
    <td>
		<select name='state' size='1'>
			<option value="1" <?{if $arrData.state == 1}?>selected<?{/if}?>><?{$arrGState[1]}?></option>
			<option value="2" <?{if $arrData.state == 2}?>selected<?{/if}?>><?{$arrGState[2]}?></option>
			<option value="3" <?{if $arrData.state == 3}?>selected<?{/if}?>><?{$arrGState[3]}?></option>
			<option value="4" <?{if $arrData.state == 4}?>selected<?{/if}?>><?{$arrGState[4]}?></option>
		</select>	
	</td>
    <td><span class=gray>留言处理信息</span></td>
  </tr>    
  <tr id=ArticleContent <?{if $arrData.linkurl!=''}?>style='display:none'<?{/if}?>>
    <td>索取原因：</td>
    <td><?{if $smarty.session.browser.0 == 'ie'}?>
	<input type=hidden name=why value="<?{$arrData.why|htmlspecialchars|stripslashes}?>"> <iframe id=eWebEditor1 
      src="../../plug-in/eWebEditor/ewebeditor.htm?id=why&style=light" frameBorder=0 width=600 scrolling=no 
      height=350></iframe>
	<?{else}?>
	<input id=content style="DISPLAY: none" type=hidden name="why" value="<?{$arrData.why|htmlspecialchars|stripslashes}?>"> 
	<input id=content___Config style="DISPLAY: none" type=hidden> 
	<iframe id=content___Frame src="../../plug-in/fckeditor/editor/fckeditor.html?InstanceName=why&Toolbar=ArthurXF" frameBorder=0 width=600 scrolling=no height=350> 
	</iframe>
	<?{/if}?></td>
    <td><span class=gray>必填项</span></td>
  </tr>   
	<tr>
      <td>&nbsp;</td>
      <td align=middle colspan=3><input type=submit id="okgo" name="okgo" value=确　定> <input type=reset value="重 置"></td>
    </tr>
	<input type=hidden name=savephoto value="<?{$arrData.photo}?>">
    <input type=hidden name=id value="<?{$arrData.id}?>">
</table>
</div>
</form>